<!DOCTYPE html>
<html lang="zh_cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Div布局</title>
    <style>
        body{margin: 0;}
        #container{width: 100%;height: 600px;background-color: gray;}
        #header{width: 100%;height: 10%;background-color: red;}
        #menu{width: 30%;height: 80%;background-color: blue;float: left}
        #body{width: 30%;height: 80%;background-color: green;float: left;}
        #side{width: 30%;height: 80%;background-color: #77f888;float: left;}
        #footer{width: 100%;height: 10%;background-color: #1974A1;clear: both;}
    </style>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>

<div id="container">
    <div id="header">
        header
    </div>
    <div id="menu">
        menu
    </div>
    <div id="body">
        body
    </div>
    <div id="side">
        side
    </div>
    <div id="footer">
        footer
    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
</body>
</html>